package entity

import (
	"github.com/shopspring/decimal"
	"time"
)

type Report struct {
	Id         int64           `gorm:"primarykey,column:id"`
	SaleCount  int32           `gorm:"column:sale_count"`
	SaleAmount decimal.Decimal `gorm:"column:sale_amout"`
	CreateTime time.Time       `gorm:"column:create_time"`
}

// TableName 自定义表名
func (u *Report) TableName() string {
	return "t_report"
}
